<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window对象属性</title>
<script type="text/javascript">		
  window.status="显示window对象常用属性！";     //状态栏中显示的内容
  //得到window对象的属性
  var c=window.closed;
  var na=window.name;
  var sA=window.status;
  var h=window.innerheight;
  var w=window.innerwidth;
  var sl=window.screenLeft;
  var sT=window.screenTop;
  //输出window对象的属性
  document.write("closed:"+c+"<hr>");
  document.write("name:"+na+"<hr>");
  document.write("status:"+sA+"<hr>");
  document.write("innerheight:"+h+"<hr>");
  document.write("innerwidth:"+w+"<hr>");
  document.write("screenLeft:"+sl+"<hr>");
  document.write("screenTop:"+sT+"<hr>");
</script>
</head>
<body>
</body>
</html>
